function [ PC, PTC ] = combineFeaturesToOneVector( PCell,PTCell,Params_pre )
cols = size(PCell{1},2);
rows = 0;
for i = 1:size(PCell,1)
    rows = rows + size(PCell{i},1);
end;
P = zeros(rows,cols);
PT = zeros(rows,cols);
s = 1;
for i = 1:size(PCell,1)
   nr =  size(PCell{i},1);
   P(s:s+nr-1,1:cols) = PCell{i};
   PT(s:s+nr-1,1:cols) = PTCell{i};
   s = s+nr;
end;
PC = cell(1,1);
PC{1} = P;

PTC = cell(1,1);
PTC{1} = PT;

